home *** CD-ROM | disk | FTP | other *** search
- /*
- grpboxf.c
- */
-
- #include <ryosuke.h>
-
- extern char *EGB_work;
-
- void grp_boxfill(int x1, int y1, int xlen, int ylen, int col, int mode)
- {
- short para[4];
- para[0] = x1;
- para[1] = y1;
- para[2] = x1 + xlen -1;
- para[3] = y1 + ylen -1;
- EGB_writeMode( EGB_work, mode );
- EGB_paintMode( EGB_work, 0x222 );
- EGB_color( EGB_work, 0, col );
- EGB_color( EGB_work, 2, col );
- EGB_rectangle( EGB_work, (char*) para );
- }
-
- /* end of grpboxf.c */
-